<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理系统HTML模板--模板之家 www.cssmoban.com</title>
<link href="/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});


</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/#">首页</a></li>
    <li><a href="/#">数据表</a></li>
    <li><a href="/#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">

        <div class="tools">

            <ul class="toolbar">
                <li><span ><img src="/images/t01.png" /></span></li>
                <li><span><img src="/images/t02.png" /></span>修改</li>
                <li><span><img src="/images/t03.png" /></span>删除</li>
                <li><span><img src="/images/t04.png" /></span>统计</li>
            </ul>


            <ul class="toolbar1">
                <li><span><img src="/images/t05.png" /></span>设置</li>
            </ul>

        </div>
        <table border="1">
            <thead>
            <tr>
                <th>秒杀id</th>
                <th>商品编号</th>
                <th>商品名称</th>
                <th>商品图片</th>
                <th>单价</th>
                <th>秒杀价</th>
                <th>卖家id</th>
                <th>创建时间</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>抢购数量</th>
                <th>剩余库存</th>
                <th>描述</th>
                <th>当前状态</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="killGoods:${pageInfo.list}">
                <form action="/checkKill/confirmApplyKillGoods" method="post">
                    <td ><input type="text" name="id" th:value="${killGoods.id}" readonly ></td>
                    <td ><input type="text" name="goodsId" th:value="${killGoods.goodsId}" readonly ></td>
                    <td ><input type="text" name="title" th:value="${killGoods.title}" readonly ></td>
                    <td ><input type="text" name="smallPic" th:value="${killGoods.smallPic}" readonly></td>
                    <td ><input type="text" name="price" th:value="${killGoods.price}" readonly></td>
                    <td ><input type="text" name="costPrice" th:value="${killGoods.costPrice}" readonly></td>
                    <td ><input type="text" name="sellerId" th:value="${killGoods.sellerId}" readonly></td>
                    <td ><input type="text" name="createTime" th:value="${killGoods.createTime}" readonly></td>
                    <td ><input type="text" name="createTime" th:value="${killGoods.createTime}" readonly></td>
                    <td ><input type="text" name="endTime" th:value="${killGoods.endTime}" readonly></td>
                    <td ><input type="text" name="num" th:value="${killGoods.num}" readonly></td>
                    <td ><input type="text" name="stockCount" th:value="${killGoods.stockCount}" readonly></td>
                    <td ><input type="text" name="introduction" th:value="${killGoods.introduction}" readonly></td>
                    <td >
                        <select name="status" id="">
                            <option th:selected="${killGoods.status}==0" value="0">未审核</option>
                            <option th:selected="${killGoods.status}==1" value="1">审核通过</option>
                            <option th:selected="${killGoods.status}==-1" value="-1">审核不通过</option>
                         </select>
                    </td>
                    <td><input type="submit" value="确定"></td>
                </form>
            </tr>
            </tbody>
        </table>

    
    
   
    <div class="pagin">
    	<div class="message">共<i class="blue">[(${pageInfo.total})]</i>条记录，[(${pageInfo.pageNum})]/[(${pageInfo.pages})]页
        </div>

        <div style="display: inline-block;">
             <span th:if="${pageInfo.isFirstPage==true}">
                <a th:href="@{/checkKill/showAllKillProduct(pageNum=1)}">上一页</a>
            </span>
            <span th:if="${pageInfo.isFirstPage==false}">
                <a th:href="@{/checkKill/showAllKillProduct(pageNum=${pageInfo.pageNum-1})}" >上一页</a>
            </span>
            <span th:each="index: ${#numbers.sequence(1,pageInfo.pages)}">
                <a th:href="@{/checkKill/showAllKillProduct(pageNum=${index})}" class="cur">[(${index})]</a>
            </span>
            <span th:if="${pageInfo.isLastPage==true}">
                <a th:href="@{/checkKill/showAllKillProduct(pageNum=${pageInfo.pages})}" >下一页</a>
            </span>
            <span th:if="${pageInfo.isLastPage==false}">
                <a th:href="@{/checkKill/showAllKillProduct(pageNum=${pageInfo.pageNum+1})}" >下一页</a>
            </span>
        </div>


    </div>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="/images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
</body>
</html>
